﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CMN.Entity
{
    ///<summary>
    ///Normal_ChannelEntity实体类(频道)
    ///</summary>
    [Serializable]
    public partial class Normal_ChannelEntity
    {
        #region "Private Variables"
        private DataTableAction _DataTable_Action;  // 操作方法 Insert:增加 Update:修改 Delete:删除
        private Int32 _Id = 0; // 频道ID
        private Int32 _ReId = 0; // 所属频道Id
        private String _Path = ""; // 根频道Id
        private String _Title = ""; // 频道名称
        private String _SEOTitle = ""; // 频道名称
        private String _KeyWords = ""; // 关键词
        private String _Info = ""; // 频道简介
        private String _Dir = ""; // 频道目录
        private Int32 _OrderNum = 0; // 排序数
        private Int32 _TemplateId = 0; // 模板ID
        private String _ChannelType = ""; // 默认模型
        private string _Target = ""; // 打开方式

        private bool _Enabled = false; // 是否启用
        private bool _IsNav = false; // 是否导航显示
        private Int32 _DefaultThumbs = 0; // 默认缩略图尺寸
        private bool _IsPost = false; // 允许发布
        private bool _IsHtml = false; // 是否静态
        private Int32 _ReadGroup = 0; // 阅读权限
        private Byte _IsPart = 0; // 栏目属性  1最终列表栏目（允许在本栏目发布文档，并生成文档列表）  2频道封面（栏目本身不允许发布文档）  3外部连接（在"文件保存目录"处填写网址）
        private String _HtmlInfo = ""; // 简介 例如企业介绍页面
        private Int32 _ContentTemplateId = 0; //详细内容页模板
        private string _SiteSeoBottom = "";
        private string _SiteImg = "";
        #endregion

        #region "Public Variables"
        ///<summary>
        /// 操作方法 Insert:增加 Update:修改 Delete:删除
        ///</summary>
        public DataTableAction DataTable_Action
        {
            set { this._DataTable_Action = value; }
            get { return this._DataTable_Action; }
        }
        /// <summary>
        /// 频道ID
        /// </summary>
        public Int32 Id
        {
            set { this._Id = value; }
            get { return this._Id; }
        }
        /// <summary>
        /// 所属频道Id
        /// </summary>
        public Int32 ReId
        {
            set { this._ReId = value; }
            get { return this._ReId; }
        }
        /// <summary>
        /// 栏目路径
        /// </summary>
        public string Path
        {
            set { this._Path = value; }
            get { return this._Path; }
        }
        /// <summary>
        /// 频道seo名称
        /// </summary>
        public String SEOTitle
        {
            set { this._SEOTitle = value; }
            get { return this._SEOTitle; }
        }
        /// <summary>
        /// 频道名称
        /// </summary>
        public String Title
        {
            set { this._Title = value; }
            get { return this._Title; }
        }
        /// <summary>
        /// 关键词
        /// </summary>
        public String KeyWords
        {
            set { this._KeyWords = value; }
            get { return this._KeyWords; }
        }
        /// <summary>
        /// 频道简介
        /// </summary>
        public String Info
        {
            set { this._Info = value; }
            get { return this._Info; }
        }
        /// <summary>
        /// 频道目录
        /// </summary>
        public String Dir
        {
            set { this._Dir = value; }
            get { return this._Dir; }
        }
        /// <summary>
        /// 排序数
        /// </summary>
        public Int32 OrderNum
        {
            set { this._OrderNum = value; }
            get { return this._OrderNum; }
        }
        /// <summary>
        /// 模板ID
        /// </summary>
        public Int32 TemplateId
        {
            set { this._TemplateId = value; }
            get { return this._TemplateId; }
        }
        /// <summary>
        /// 默认模型
        /// </summary>
        public String ChannelType
        {
            set { this._ChannelType = value; }
            get { return this._ChannelType; }
        }
        /// <summary>
        /// 打开方式
        /// </summary>
        public string Target
        {
            set { this._Target = value; }
            get { return this._Target; }
        }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled
        {
            set { this._Enabled = value; }
            get { return this._Enabled; }
        }
        /// <summary>
        /// 是否导航显示
        /// </summary>
        public bool IsNav
        {
            set { this._IsNav = value; }
            get { return this._IsNav; }
        }
        /// <summary>
        /// 默认缩略图尺寸
        /// </summary>
        public Int32 DefaultThumbs
        {
            set { this._DefaultThumbs = value; }
            get { return this._DefaultThumbs; }
        }
        /// <summary>
        /// 允许发布
        /// </summary>
        public bool IsPost
        {
            set { this._IsPost = value; }
            get { return this._IsPost; }
        }
        /// <summary>
        /// 是否静态
        /// </summary>
        public bool IsHtml
        {
            set { this._IsHtml = value; }
            get { return this._IsHtml; }
        }
        /// <summary>
        /// 阅读权限
        /// </summary>
        public Int32 ReadGroup
        {
            set { this._ReadGroup = value; }
            get { return this._ReadGroup; }
        }
        /// <summary>
        /// 栏目属性  1最终列表栏目（允许在本栏目发布文档，并生成文档列表）  0频道封面（栏目本身不允许发布文档）  2外部连接（在"文件保存目录"处填写网址）
        /// </summary>
        public Byte IsPart
        {
            set { this._IsPart = value; }
            get { return this._IsPart; }
        }
        /// <summary>
        /// 简介 例如企业介绍页面
        /// </summary>
        public String HtmlInfo
        {
            set { this._HtmlInfo = value; }
            get { return this._HtmlInfo; }
        }
        /// <summary>
        /// 群站底部Seo关键词
        /// </summary>
        public  string SiteSeoBottom
        {
            set { this._SiteSeoBottom = value; }
            get { return this._SiteSeoBottom; }
        }
        /// <summary>
        /// 站群图片
        /// </summary>
        public  string SiteImg
        {
            set { this._SiteImg = value; }
            get { return this._SiteImg; }
        }

        /// <summary>
        /// 详细内容页模板ID
        /// </summary>
        public int ContentTemplateId
        {
            get { return _ContentTemplateId; }
            set { _ContentTemplateId = value; }
        }
        public string Url { get; set; }

        public string DirectoryUrl { get; set; }
        private int _PageSize = 10;
        public int PageSize
        {
            get { return _PageSize; }
            set { _PageSize = value; }
        }

       
        #endregion
    }
}
